<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #ccc;
        }

        .box {
            display: flex;
            flex-direction: column;
            max-width: 540px;
            min-width: 320px;
            width: 100%;
            margin: 100px auto;
            padding: 10px 10px 5px 10px;
            background-color: #f5f5f5;

        }

        ul {
            list-style: none;
            display: flex;
            margin-bottom: 1px;
        }

        li {
            flex: 1;
            display: flex;
            width: 58px;
            height: 58px;
            margin-right: 1px;

        }

        .box ul:nth-child(1) li:nth-child(1) {
            border-top-left-radius: 10px;
            background: -webkit-linear-gradient(top, #fa5f55, #fb8451);

        }

        .box ul:nth-child(1) li:nth-child(5) {
            border-top-right-radius: 10px;
        }

        .box ul:nth-child(3) li:nth-child(1) {
            border-bottom-left-radius: 10px;
            background-color: #fff5f1;
        }

        .box ul:nth-child(3) li:nth-child(5) {
            border-bottom-right-radius: 10px;
        }

        .box ul:nth-child(1) li:nth-child(2) {
            background: -webkit-linear-gradient(top, #3f8bfa, #4eadfa);
        }

        .box ul:nth-child(1) li:nth-child(3) {
            background: -webkit-linear-gradient(top, #5f85ff, #66a1ff);
        }

        .box ul:nth-child(1) li:nth-child(4) {
            background: -webkit-linear-gradient(top, #34c6b6, #4ed7b3);
        }

        .box ul:nth-child(1) li:nth-child(5) {
            background: -webkit-linear-gradient(top, #ff8d3b, #ffa545);
        }

        .box ul:nth-child(2) li:nth-child(1) {
            background-color: #fff5f1;
        }

        .box ul:nth-child(2) li:nth-child(2),
        .box ul:nth-child(3) li:nth-child(2) {
            background-color: #eff9ff;
        }

        .box ul:nth-child(2) li:nth-child(3),
        .box ul:nth-child(3) li:nth-child(3) {
            background-color: #f2f5ff;
        }

        .box ul:nth-child(2) li:nth-child(4),
        .box ul:nth-child(3) li:nth-child(4) {
            background-color: #ecfcf8;
        }

        .box ul:nth-child(2) li:nth-child(5),
        .box ul:nth-child(3) li:nth-child(5) {
            background-color: #fff9f2;
        }

        a {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            font-size: 12px;
            color: #000;
        }

        a span:nth-child(1) {
            width: 28px;
            height: 28px;
            background: url(./nav.png) no-repeat;

        }

        .box ul:nth-child(1) li:nth-child(1) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(2) span:nth-child(1) {
            background-position: 0 -170px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(3) span:nth-child(1) {
            background-position: 0 -364px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(4) span:nth-child(1) {
            background-position: 0 -140px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(5) span:nth-child(1) {
            background-position: 0 -28px;
            background-size: 28px auto;
        }

        .box ul:nth-child(2) li:nth-child(1) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(2) li:nth-child(2) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(2) li:nth-child(3) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(2) li:nth-child(4) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(2) li:nth-child(5) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(1) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(1) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(1) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(1) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }

        .box ul:nth-child(1) li:nth-child(1) span:nth-child(1) {
            background-position: 0 -86px;
            background-size: 28px auto;
        }
    </style>
</head>

<body>
    <div class="box">
        <ul>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>飞 机</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>火车票</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>旅 游</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>攻略/景点</span>
                </a>
            </li>
        </ul>
        <ul>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
        </ul>
        <ul>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
            <li>
                <a href="">
                    <span></span>
                    <span>酒 店</span>
                </a>
            </li>
        </ul>
    </div>
</body>

</html>